<!DOCTYPE html>
<html lang="zh-CN">

    <#assign html_title="搬砖之家">
<head>
    <#include "/components/head.htm"   />
</head>
 <body>
<div id="fullPage">
    <!--Page One-->
    <#include "/components/header.section.htm"   />

    <section>
        <div class="container white-block">
            <h4>基本信息</h4>
            <div class="row"> <div class="col-md-1"></div><div class="col-md-3">订单编号</div><div class="col-md-3">${order.order_no}</div> </div>
            <div class="row"> <div class="col-md-1"></div><div class="col-md-3">创建时间</div><div class="col-md-3">${order.create_time?string("yyyy-MM-dd HH:mm:ss")}</div> </div>
            <div class="row"> <div class="col-md-1"></div><div class="col-md-3">套餐单价</div><div class="col-md-3">${order.price?string('0.00')}元</div> </div>
            <div class="row"> <div class="col-md-1"></div><div class="col-md-3">套餐天数</div><div class="col-md-3">${order.day}</div> </div>
            <div class="row"> <div class="col-md-1"></div><div class="col-md-3">总金额</div><div class="col-md-3">${order.amount?string('0.00')}元</div> </div>
            <h4>订阅明细</h4>
            <#list items as item>
                <div class="row"><div class="col-md-1"></div> <div class="col-md-3">${item.site1!}</div> </div>
            </#list>
            <br/>
            <hr>
            <div class="row"> <div class="col-md-1"></div>
                <#if order.status == 0 && !order.is_timeout>
                    <a href="/view/order/to_pay?order_id=${order.id}" target="_blank" class="btn btn-primary col-md-3 to_pay_btn" style="color: white;"                >
                        去支付
                    </a>
                </#if>
                <#if order.status == 0 && order.is_timeout>
                    <a class="btn btn-danger col-md-3" style="color: white;" disabled="disabled" > 超时   </a>
                </#if>
                <#if order.status == 1>
                    <a class="btn btn-primary col-md-3" style="color: white;" disabled="disabled" > 完成   </a>
                </#if>
            </div>
            <br></br>
            <br></br>
        </div>
    </section>
</div>
</body>

</html>